using UnityEngine;
using QFramework;
using TMPro;

namespace QFramework.RollABall
{
	public partial class CameraController : ViewController
	{
		public GameObject player;
		private Vector3 mOffset;

		void Start()
		{
			// Code Here
			mOffset = transform.position - player.transform.position;
		}

        private void LateUpdate()
        {
			transform.position = player.transform.position + mOffset;
        }
    }
}
